import React, { Component } from 'react'
import PropTypes from 'prop-types'
import { View, StyleSheet } from 'react-native'

export default class Divider extends Component {
  static propTypes = {
    style: PropTypes.any
  }

  render () {
    return (
      <View style={[styles.line, this.props.style]} />
    )
  }
}

const styles = StyleSheet.create({
  line: {
    height: StyleSheet.hairlineWidth,
    backgroundColor: '#e0e0e0'
  }
})
